// 导入ReactDOM库，用于渲染React组件到DOM中
import { RouterProvider } from "react-router";
import { createRoot } from "react-dom/client";
import "./index.css";
// 导入自定义路由模块
import router from "./Router/index.tsx";

createRoot(document.getElementById("root")!).render(
  // 渲染路由提供器，将路由配置传递给它
  <RouterProvider router={router}></RouterProvider>
);
